<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>MinderCase</title>

	<link href="favicon.ico" type="image/x-icon" rel="shortcut icon">

	<!-- bower:css -->
	<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.css" />
	<link rel="stylesheet" href="/bower_components/codemirror/lib/codemirror.css" />
	<link rel="stylesheet" href="/bower_components/hotbox/hotbox.css" />
	<link rel="stylesheet" href="/bower_components/color-picker/dist/color-picker.min.css" />
	<link rel="stylesheet" href="/kityminder/kityminder.core.css" />
	<!-- endbower -->

	<link rel="stylesheet" href="/kityminder/kityminder.editor.min.css">

	<link rel="stylesheet" href="/dist/minder.css">
</head>

<body ng-app="kityminderDemo" ng-controller="MainController">
	<div id="header"></div>
	<kityminder-editor on-init="initEditor(editor, minder)"></kityminder-editor>

	<!-- bower:js -->
	<script src="/bower_components/jquery/dist/jquery.js"></script>
	<script src="/bower_components/bootstrap/dist/js/bootstrap.js"></script>
	<script src="/bower_components/angular/angular.js"></script>
	<script src="/bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
	<script src="/bower_components/codemirror/lib/codemirror.js"></script>
	<script src="/bower_components/codemirror/mode/xml/xml.js"></script>
	<script src="/bower_components/codemirror/mode/javascript/javascript.js"></script>
	<script src="/bower_components/codemirror/mode/css/css.js"></script>
	<script src="/bower_components/codemirror/mode/htmlmixed/htmlmixed.js"></script>
	<script src="/bower_components/codemirror/mode/markdown/markdown.js"></script>
	<script src="/bower_components/codemirror/addon/mode/overlay.js"></script>
	<script src="/bower_components/codemirror/mode/gfm/gfm.js"></script>
	<script src="/bower_components/angular-ui-codemirror/ui-codemirror.js"></script>
	<script src="/bower_components/marked/lib/marked.js"></script>
	<script src="/bower_components/kity/dist/kity.min.js"></script>
	<script src="/bower_components/hotbox/hotbox.js"></script>
	<script src="/bower_components/json-diff/json-diff.js"></script>
	<script src="/bower_components/color-picker/dist/color-picker.min.js"></script>
	<script src="/kityminder/kityminder.core.min.js"></script>
	<!-- endbower -->

	<script src="/kityminder/kityminder.editor.min.js"></script>
	<script>
		angular.module('kityminderDemo', ['kityminderEditor'])
			.config(function (configProvider) {
				configProvider.set('imageUpload', '../server/imageUpload.php');
			})
			.controller('MainController', function ($scope) {
				$scope.initEditor = function (editor, minder) {
					window.editor = editor;
					window.minder = minder;
				};
			});

	</script>
	<script src="/dist/minder.js"></script>

</body>

</html>